<?php 
 $File = "halloffame.csv"; 
 $Handle = fopen($File, 'a+');
 $stringa = $_POST['punteggio'];
 if (strlen($stringa)==1) fwrite($Handle,"00");
 if (strlen($stringa)==2) fwrite($Handle,"0");
 fwrite($Handle, $stringa);  fwrite($Handle,",");
 $stringa = $_POST['nome'];fwrite($Handle, $stringa);  fwrite($Handle,",");
 $stringa = $_POST['grandezza'];fwrite($Handle, $stringa);  fwrite($Handle,",");
 $stringa = $_POST['livello'];fwrite($Handle, $stringa);  fwrite($Handle,",");
 $stringa = $_POST['soggetto'];fwrite($Handle, $stringa);  fwrite($Handle,",");
 $stringa = $_POST['amici'];fwrite($Handle, $stringa);  fwrite($Handle,",");
 $stringa = $_POST['robustezza'];fwrite($Handle, $stringa);  fwrite($Handle,",");
 $stringa = $_POST['bellezza'];fwrite($Handle, $stringa);  fwrite($Handle,",");
 $stringa = $_POST['leggerezza'];fwrite($Handle, $stringa);  fwrite($Handle,",");
 $stringa = $_POST['teologia'];fwrite($Handle, $stringa);  fwrite($Handle,",");
 $stringa = $_POST['data'];fwrite($Handle, $stringa);  fwrite($Handle,"\n");
 fclose($Handle); 
 ?>